FileEntry

public final class FileEntry extends FormDataEntry

A key to file value pair representing a segment of form upload data.

Such an entry can be used only with MultipartFormData.

Since

8.0.0

Constructors

Link copied to clipboard
public FileEntry FileEntry(String key, File value)

Properties

Link copied to clipboard
private final String key

The form content segment key.

Link copied to clipboard
private final File value

The segment value representing the file content.

Functions

Link copied to clipboard
public final String getKey()

The form content segment key.

Link copied to clipboard
public File getValue()

The segment value representing the file content.